package com.dq.Week1.day04.arr;

import java.util.Scanner;

public class Demo04 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String[] nameArr = new String[5];

        for (int i = 0; i < 5; i++) {
            System.out.println("请输入名字");
            nameArr[i] = scanner.nextLine();
        }

        ArrUtils.printName(nameArr);

    }
}
